import { axios } from '@/utils/request'
// 审核模块接口
// 获取任务审核分页数据
function getVerifyPageData (params) {
  return axios({
    url: '/user-service/workflow/action/list',
    method: 'get',
    params
  })
}
// 审核通过或驳回
function editAuditState (data) {
  return axios({
    url: '/user-service/workflow/action/audit',
    method: 'post',
    data
  })
}

// 获取审核信息
function getVerifyInfoDetail (params) {
  return axios({
    url: '/user-service/workflow/action/info',
    method: 'get',
    params
  })
}

export default {
  getVerifyPageData,
  editAuditState,
  getVerifyInfoDetail
}
